package com.middlegroup.payadmin.pojo.po;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.middlegroup.common.mybatisplus.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 调用客户端收款日志表
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
@TableName("t_in_third_bills")
public class InThirdBills  extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 商户id
     */
    @TableField("merchant_id")
    private Long merchantId;
    /**
     * 下游商户订单号
     */
    @TableField("merchant_bill_no")
    private String merchantBillNo;
    /**
     * 上游渠道的订单号
     */
    @TableField("trans_no")
    private String transNo;
    /**
     * 上游商户订单号
     */
    @TableField("bill_no")
    private String billNo;
    /**
     * 0:处理中
            1:成功
            1:失败
            3:超时
     */
    private Integer status;
    /**
     * 交易金额
     */
    private BigDecimal amount;
    /**
     * 请求开始时间
     */
    @TableField("begin_time")
    private Long beginTime;
    /**
     * 响应时间
     */
    @TableField("end_time")
    private Long endTime;
    /**
     * 请求的地址
     */
    @TableField("request_url")
    private String requestUrl;
    /**
     * 请求报文，需脱敏
     */
    @TableField("request_text")
    private String requestText;
    /**
     * 响应报文，需脱敏
     */
    @TableField("response_text")
    private String responseText;


    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantBillNo() {
        return merchantBillNo;
    }

    public void setMerchantBillNo(String merchantBillNo) {
        this.merchantBillNo = merchantBillNo;
    }

    public String getTransNo() {
        return transNo;
    }

    public void setTransNo(String transNo) {
        this.transNo = transNo;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Long getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Long beginTime) {
        this.beginTime = beginTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public String getRequestUrl() {
        return requestUrl;
    }

    public void setRequestUrl(String requestUrl) {
        this.requestUrl = requestUrl;
    }

    public String getRequestText() {
        return requestText;
    }

    public void setRequestText(String requestText) {
        this.requestText = requestText;
    }

    public String getResponseText() {
        return responseText;
    }

    public void setResponseText(String responseText) {
        this.responseText = responseText;
    }


}
